<template>
  <div class="home-unauthenticated">
    <!-- Hero区域 - 第一屏 -->
    <section class="hero-section">
      <div class="hero-background"></div>
      <div class="hero-content">
        <div class="hero-text">
          <h1 class="hero-title">智能规划您的南昌之旅</h1>
          <p class="hero-subtitle">
            基于Dijkstra算法，考虑预算、距离、时间等多因素<br>
            个性化推荐，为您量身定制最优路线
          </p>
          <div class="hero-actions">
            <el-button type="primary" size="large" @click="$router.push('/register')" class="cta-primary">
              <el-icon><UserFilled /></el-icon>
              立即注册
            </el-button>
            <el-button size="large" @click="$router.push('/attractions')" class="cta-secondary">
              <el-icon><Promotion /></el-icon>
              浏览景点
            </el-button>
          </div>
          <p class="hero-hint">
            <el-icon><InfoFilled /></el-icon>
            注册登录后即可使用路线规划、行程管理等完整功能
          </p>
        </div>
      </div>
      <div class="hero-scroll-indicator">
        <el-icon><ArrowDown /></el-icon>
        <span>向下滚动了解更多</span>
      </div>
    </section>

    <!-- 核心功能展示 - 第二屏 -->
    <section class="features-section">
      <div class="section-container">
        <div class="section-header">
          <h2 class="section-title">核心功能</h2>
          <p class="section-description">强大的功能，让您的旅行规划更简单、更智能</p>
        </div>
        <div class="features-grid">
          <div 
            v-for="feature in features" 
            :key="feature.id"
            class="feature-card"
            @click="handleFeatureClick(feature)"
          >
            <div class="feature-icon" :style="{ background: feature.color }">
              <el-icon :size="48">
                <component :is="feature.icon" />
              </el-icon>
            </div>
            <h3 class="feature-title">{{ feature.title }}</h3>
            <p class="feature-description">{{ feature.description }}</p>
            <div class="feature-action">
              <span class="feature-link">了解更多 <el-icon><ArrowRight /></el-icon></span>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- 热门推荐 - 第三屏 -->
    <section class="recommendations-section">
      <div class="section-container">
        <div class="section-header">
          <h2 class="section-title">热门推荐</h2>
          <p class="section-description">基于热度、评分、用户评价智能推荐</p>
          <el-button type="text" @click="$router.push('/attractions')" class="view-all-btn">
            查看全部景点 <el-icon><ArrowRight /></el-icon>
          </el-button>
        </div>
        <div class="recommendations-grid" v-loading="recommendationsLoading">
          <div
            v-for="rec in recommendations.slice(0, 4)"
            :key="rec.attraction.id"
            class="recommendation-card"
            @click="viewAttraction(rec.attraction.id)"
          >
            <div class="recommendation-image">
              <div class="image-placeholder">
                <el-icon :size="48"><PictureRounded /></el-icon>
              </div>
              <div class="recommendation-badge">
                <el-tag type="success" size="small">
                  {{ (rec.score * 100).toFixed(0) }}% 推荐
                </el-tag>
              </div>
            </div>
            <div class="recommendation-content">
              <h3 class="recommendation-title">{{ rec.attraction.name }}</h3>
              <p class="recommendation-reason">{{ rec.reason }}</p>
              <div class="recommendation-info">
                <span class="recommendation-price">¥{{ rec.attraction.ticket_price }}</span>
                <span class="recommendation-category">{{ getCategoryName(rec.attraction.category) }}</span>
              </div>
            </div>
          </div>
        </div>
        <div v-if="recommendations.length === 0" class="empty-recommendations">
          <el-empty description="暂无推荐数据" />
        </div>
      </div>
    </section>

    <!-- 系统优势 - 第四屏 -->
    <section class="advantages-section">
      <div class="section-container">
        <div class="section-header">
          <h2 class="section-title">为什么选择我们</h2>
          <p class="section-description">专业的算法，贴心的服务，让您的旅行更完美</p>
        </div>
        <div class="advantages-list">
          <div v-for="advantage in advantages" :key="advantage.id" class="advantage-item">
            <div class="advantage-icon">
              <el-icon :size="40" :color="advantage.color">
                <component :is="advantage.icon" />
              </el-icon>
            </div>
            <div class="advantage-content">
              <h3 class="advantage-title">{{ advantage.title }}</h3>
              <p class="advantage-description">{{ advantage.description }}</p>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- 快速开始 - 第五屏 -->
    <section class="quick-start-section">
      <div class="section-container">
        <div class="section-header">
          <h2 class="section-title">快速开始</h2>
          <p class="section-description">只需4步，即可规划您的完美旅程</p>
        </div>
        <div class="steps-container">
          <el-steps :active="0" align-center class="steps">
            <el-step title="注册账号" description="免费注册，立即开始" />
            <el-step title="选择景点" description="浏览并选择您想游览的景点" />
            <el-step title="设置参数" description="设置预算、时间等参数" />
            <el-step title="获取路线" description="系统自动规划最优路线" />
          </el-steps>
          <div class="steps-action">
            <el-button type="primary" size="large" @click="$router.push('/register')">
              <el-icon><UserFilled /></el-icon>
              立即注册，开始规划
            </el-button>
          </div>
        </div>
      </div>
    </section>

    <!-- 固定注册条（滚动时显示） -->
    <div class="sticky-cta-bar" v-show="showStickyBar">
      <div class="cta-bar-content">
        <div class="cta-bar-text">
          <el-icon><Promotion /></el-icon>
          <span>注册后享受更多个性化功能</span>
        </div>
        <div class="cta-bar-actions">
          <el-button @click="$router.push('/login')">登录</el-button>
          <el-button type="primary" @click="$router.push('/register')">立即注册</el-button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { ref, computed, onMounted, onUnmounted } from 'vue'
import { useRouter } from 'vue-router'
import { useStore } from 'vuex'
import {
  UserFilled,
  Promotion,
  InfoFilled,
  ArrowDown,
  ArrowRight,
  PictureRounded,
  Location,
  MapLocation,
  DataAnalysis,
  Money,
  Star,
  Timer,
  Trophy
} from '@element-plus/icons-vue'
import { ElMessage } from 'element-plus'
import TravelAPI from '../api/travel'
import logger from '../utils/logger'

export default {
  name: 'HomeUnauthenticated',
  components: {
    UserFilled,
    Promotion,
    InfoFilled,
    ArrowDown,
    ArrowRight,
    PictureRounded,
    Location,
    MapLocation,
    DataAnalysis,
    Money,
    Star,
    Timer,
    Trophy
  },
  setup() {
    const router = useRouter()
    const store = useStore()
    const recommendations = ref([])
    const recommendationsLoading = ref(false)
    const showStickyBar = ref(false)

    const isAuthenticated = computed(() => store.getters.isAuthenticated)

    const features = [
      {
        id: 1,
        icon: 'MapLocation',
        title: '智能路线规划',
        description: '使用Dijkstra算法，自动规划最优路线，考虑预算、距离、时间等多重因素',
        color: 'linear-gradient(135deg, #C8102E 0%, #D4AF37 100%)',
        route: '/route-plan',
        requiresAuth: true
      },
      {
        id: 2,
        icon: 'Star',
        title: '个性化推荐',
        description: '基于您的偏好和历史，智能推荐景点，让每一次旅行都符合您的期待',
        color: 'linear-gradient(135deg, #E63946 0%, #F4D03F 100%)',
        route: '/attractions'
      },
      {
        id: 3,
        icon: 'Timer',
        title: '多日行程管理',
        description: '轻松规划多日行程，合理安排每一天，详细的日程安排让旅行更有序',
        color: 'linear-gradient(135deg, #1E88E5 0%, #42A5F5 100%)',
        route: '/itineraries',
        requiresAuth: true
      },
      {
        id: 4,
        icon: 'Trophy',
        title: '社交分享',
        description: '分享您的旅行经历，发现更多精彩，与朋友一起规划让旅行更有趣',
        color: 'linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%)',
        route: '/social',
        requiresAuth: true
      }
    ]

    const advantages = [
      {
        id: 1,
        icon: 'DataAnalysis',
        title: '智能算法',
        color: '#409EFF',
        description: '采用Dijkstra最短路径算法，多因素权重优化，确保路线最优'
      },
      {
        id: 2,
        icon: 'MapLocation',
        title: '实时数据',
        color: '#67C23A',
        description: '集成高德地图API，实时路况、距离、时间计算，数据准确可靠'
      },
      {
        id: 3,
        icon: 'Star',
        title: '个性化',
        color: '#E6A23C',
        description: '基于用户偏好推荐，千人千面，每个人都能获得独特的旅行建议'
      },
      {
        id: 4,
        icon: 'Money',
        title: '免费使用',
        color: '#F56C6C',
        description: '完全免费，无隐藏费用，注册即可享受全部功能'
      }
    ]

    const fetchRecommendations = async () => {
      recommendationsLoading.value = true
      try {
        const response = await TravelAPI.getRecommendations({
          limit: 4
        })
        recommendations.value = response.recommendations || []
      } catch (error) {
        logger.error('获取推荐失败:', error)
      } finally {
        recommendationsLoading.value = false
      }
    }

    const handleFeatureClick = (feature) => {
      if (feature.requiresAuth && !isAuthenticated.value) {
        ElMessage.warning('此功能需要登录，请先注册或登录')
        router.push('/register')
      } else {
        router.push(feature.route)
      }
    }

    const viewAttraction = (id) => {
      router.push(`/attractions?id=${id}`)
    }

    const getCategoryName = (category) => {
      const names = {
        cultural: '文化古迹',
        natural: '自然风光',
        modern: '现代建筑',
        food: '美食购物'
      }
      return names[category] || category
    }

    const handleScroll = () => {
      const scrollTop = window.pageYOffset || document.documentElement.scrollTop
      showStickyBar.value = scrollTop > 500
    }

    onMounted(() => {
      fetchRecommendations()
      window.addEventListener('scroll', handleScroll)
    })

    onUnmounted(() => {
      window.removeEventListener('scroll', handleScroll)
    })

    return {
      recommendations,
      recommendationsLoading,
      showStickyBar,
      features,
      advantages,
      handleFeatureClick,
      viewAttraction,
      getCategoryName
    }
  }
}
</script>

<style scoped>
.home-unauthenticated {
  width: 100%;
  overflow-x: hidden;
}

/* Hero区域 */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 南昌旅游特色：天空蓝到水蓝渐变，象征赣江 */
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
  color: #303133;
  overflow: hidden;
}

/* 水波纹背景装饰 */
.hero-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(180deg, transparent 0%, rgba(30, 136, 229, 0.1) 100%);
  background-image: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 100px,
      rgba(255, 255, 255, 0.1) 100px,
      rgba(255, 255, 255, 0.1) 200px
    );
  animation: waterWave 10s ease-in-out infinite;
  pointer-events: none;
}

/* 城市剪影装饰 */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(200, 16, 46, 0.15) 0%, transparent 100%);
  clip-path: polygon(
    0% 100%,
    5% 80%,
    10% 90%,
    15% 70%,
    20% 85%,
    25% 60%,
    30% 75%,
    35% 55%,
    40% 70%,
    45% 50%,
    50% 65%,
    55% 45%,
    60% 60%,
    65% 40%,
    70% 55%,
    75% 35%,
    80% 50%,
    85% 30%,
    90% 45%,
    95% 25%,
    100% 40%,
    100% 100%
  );
  pointer-events: none;
}

@keyframes waterWave {
  0%, 100% {
    transform: translateX(0) translateY(0);
    opacity: 0.3;
  }
  50% {
    transform: translateX(20px) translateY(-10px);
    opacity: 0.5;
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom no-repeat;
  background-size: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  padding: 0 24px;
  text-align: center;
}

.hero-text {
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
  color: #303133;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.95;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cta-primary {
  height: 56px;
  padding: 0 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 28px;
  /* 南昌红到滕王阁金渐变 */
  background: linear-gradient(135deg, #C8102E 0%, #D4AF37 100%);
  border: none;
  color: white;
  box-shadow: 0 4px 16px rgba(200, 16, 46, 0.4);
  transition: all 0.3s;
}

.cta-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #D91E36 0%, #E6C866 100%);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.cta-secondary {
  height: 56px;
  padding: 0 40px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hero-hint {
  font-size: 14px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 通用区块样式 */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: #303133;
  margin-bottom: 16px;
}

.section-description {
  font-size: 18px;
  color: #606266;
  line-height: 1.6;
}

.view-all-btn {
  margin-top: 16px;
  font-size: 16px;
  color: #C8102E;
  font-weight: 500;
}

.view-all-btn:hover {
  color: #D4AF37;
}

/* 功能展示区域 */
.features-section {
  background: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.feature-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(227,242,253,0.8) 100%);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(200, 16, 46, 0.1);
  box-shadow: 0 2px 8px rgba(200, 16, 46, 0.08);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.16);
  border-color: rgba(212, 175, 55, 0.3);
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,243,224,0.9) 100%);
}

.feature-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
}

.feature-title {
  font-size: 22px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 16px;
}

.feature-description {
  font-size: 15px;
  color: #606266;
  line-height: 1.7;
  margin-bottom: 24px;
  min-height: 48px;
}

.feature-action {
  margin-top: auto;
}

.feature-link {
  color: #C8102E;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s;
}

.feature-link:hover {
  color: #D4AF37;
}

.feature-card:hover .feature-link {
  gap: 8px;
}

/* 推荐区域 */
.recommendations-section {
  /* 南昌旅游特色：天空蓝渐变背景 */
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
  position: relative;
  overflow: hidden;
}

/* 推荐区域装饰 */
.recommendations-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(200, 16, 46, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.recommendation-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(227,242,253,0.8) 100%);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(200, 16, 46, 0.1);
  box-shadow: 0 2px 8px rgba(200, 16, 46, 0.08);
  backdrop-filter: blur(10px);
}

.recommendation-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.2);
  border-color: rgba(212, 175, 55, 0.3);
}

.recommendation-image {
  position: relative;
  width: 100%;
  height: 200px;
  /* 南昌红到滕王阁金渐变 */
  background: linear-gradient(135deg, #C8102E 0%, #D4AF37 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 图片区域装饰 */
.recommendation-image::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
}

.image-placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.recommendation-badge {
  position: absolute;
  top: 12px;
  right: 12px;
}

.recommendation-content {
  padding: 20px;
}

.recommendation-title {
  font-size: 18px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 8px;
}

.recommendation-reason {
  font-size: 14px;
  color: #606266;
  line-height: 1.6;
  margin-bottom: 16px;
  min-height: 44px;
}

.recommendation-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.recommendation-price {
  font-size: 20px;
  font-weight: 700;
  /* 滕王阁金色 */
  color: #D4AF37;
}

.recommendation-category {
  font-size: 13px;
  color: #909399;
  padding: 4px 12px;
  background: #f5f7fa;
  border-radius: 12px;
}

.empty-recommendations {
  padding: 60px 0;
}

/* 优势展示区域 */
.advantages-section {
  /* 南昌旅游特色：天空蓝渐变背景 */
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
  position: relative;
}

.advantages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.advantage-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.advantage-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  /* 南昌红到滕王阁金渐变 */
  background: linear-gradient(135deg, #C8102E 0%, #D4AF37 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
  transition: all 0.3s ease;
}

.advantage-item:hover .advantage-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.advantage-content {
  flex: 1;
}

.advantage-title {
  font-size: 20px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 12px;
}

.advantage-description {
  font-size: 15px;
  color: #606266;
  line-height: 1.7;
}

/* 快速开始区域 */
.quick-start-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.steps-container {
  margin-top: 60px;
}

.steps {
  margin-bottom: 50px;
}

.steps-action {
  text-align: center;
}

.steps-action .el-button {
  height: 56px;
  padding: 0 50px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 28px;
}

/* 固定注册条 */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 16px 24px;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cta-bar-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-bar-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #303133;
  font-weight: 500;
}

.cta-bar-text .el-icon {
  color: #409EFF;
  font-size: 20px;
}

.cta-bar-actions {
  display: flex;
  gap: 12px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 42px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .features-grid,
  .recommendations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .advantages-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-primary,
  .cta-secondary {
    width: 100%;
  }
  
  .section-container {
    padding: 60px 20px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .features-grid,
  .recommendations-grid,
  .advantages-list {
    grid-template-columns: 1fr;
  }
  
  .cta-bar-content {
    flex-direction: column;
    gap: 16px;
  }
  
  .cta-bar-actions {
    width: 100%;
  }
  
  .cta-bar-actions .el-button {
    flex: 1;
  }
}
</style>

